{{extend './_layouts/home.html'}}{{block 'title'}}{{购物车}}{{/block}} {{block 'head'}}
<link rel="stylesheet" href="/public/css/shoppingCar.css"> {{/block}} {{block 'body'}}


<div class="title w">
    <span>产品名称</span>
    <span>单价</span>
    <span>数量</span>
    <span>小计</span>
    <span>操作</span>
</div>
<main class="w">
    <div class="carTitle">
        <input type="checkbox" name="" id="selectAll">
        <span id='user'>用户名</span>
        <span id="userCardCode">(<i>1000949273</i>)的购物车</span>
    </div>
    <article class="carGoods">
        <!--   <div class="goodsItem">
            <input type="checkbox" name="" id="">
            <div class="goodsIntroduce">
                <img src="https://oss.perfect99.com/perfect-mall-1/prod/home/sbw7twNrS3.png" alt="">
                <div class="goodsIntroRight">
                    <div class="goodsTitle">
                        荟新芦荟滋养护色洗发露
                    </div>
                    <div class="goodsCode">
                        产品编码：AF13118
                    </div>
                </div>
            </div>
            <div class="priceAndPV">
                <div class="price">
                    ￥69.00
                </div>
                <div class="pv">
                    积分（pv）55
                </div>
            </div>
            <div class="num">
                <span><i class="reduce">-</i><em id="purchaseNum">2</em><i class="add">+</i></span>
            </div>
            <div class="pricePVAll">
                <div class="priceAll">￥ <em>138.00</em> </div>
                <div class="pvAll">积分（pv）<i>{{id}}</i> </div>
            </div>
            <div class="opration">
                <span class="del">删除</span>
                <span class="collection">加入我的收藏</span>
            </div>
        </div>-->
    </article>
    <script id="list" type="text/template">

        {{each list}}
        <li>索引 {{$value.id}} ：{{$value.name}}</li>
        {{/each}}
    </script>

    <!-- <script>
        var aa = template('list', {
            list: [{
                id: 1,
                name: 'aaa'
            }, {
                id: 2,
                name: 'bbb'
            }]
        })
        console.log(aa);
    </script> -->

    <div class="footer">
        <div><span class="selectedNum">已选 <i>0</i> 件</span></div>
        <div><span class="selectedDel">删除</span></div>
        <div><span class="selectedCollect">加入收藏</span></div>
        <div><span id="clearCar">清空购物车</span></div>
        <div class="selectedPVAndNum">
            <span class="goodsNums">商品总数: <i>0</i></span>
            <span class="goodsPVs">积分(PV): <i>0</i></span>
        </div>
        <div><span class="selectedPriceAll">总金额(不含运费): <em>￥<i>0.00</i></em></span></div>
        <div class="settlement">去结算</div>
  

    </div>
</main>

{{/block}} {{block 'script'}}
<script src="/node_modules/jquery/dist/jquery.js"></script>
<script src="/public/js/thirdPartyJS/jquery.cookie.js"></script>
<script src="/public/js/customJS/shoppingCar.js"></script>
{{/block}}